package com.ruoyi.houseClosing.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_sf_termination
 *
 * @author ruoyi
 * @date 2021-06-18
 */
public class TSfTermination extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 商户ID */
    @Excel(name = "商户ID")
    private Long businessId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 部门编号 */
    @Excel(name = "部门编号")
    private String deptNo;

    /** 解约协议编号 */
    @Excel(name = "解约协议编号")
    private String sfTerminationNo;

    /** 外部协议编号（线下解约协议号） */
    @Excel(name = "外部协议编号", readConverterExp = "线=下解约协议号")
    private String outTerminationNo;

    /** 收房合同id */
    @Excel(name = "收房合同id")
    private Long sfContractId;

    /** 收房合同号 */
    @Excel(name = "收房合同号")
    private String sfContractNo;

    /** 楼盘ID */
    @Excel(name = "楼盘ID")
    private Long premiseId;

    /** 小区(使用楼盘名) */
    @Excel(name = "小区(使用楼盘名)")
    private String premiseName;

    /** 房产编号 */
    @Excel(name = "房产编号")
    private String houseId;

    /** 房产信息 */
    @Excel(name = "房产信息")
    private String houseName;

    /** 产权地址 */
    @Excel(name = "产权地址")
    private String cqAddress;

    /** 房产证书编号 */
    @Excel(name = "房产证书编号")
    private String houseZsNo;

    /** 业主姓名 */
    @Excel(name = "业主姓名")
    private String ownerName;

    /** 业主手机号 */
    @Excel(name = "业主手机号")
    private String ownerMobile;

    /** 签约人(甲方) */
    @Excel(name = "签约人(甲方)")
    private String signUserName;

    /** 签约人手机号 */
    @Excel(name = "签约人手机号")
    private String signUserMobile;

    /** 物业交割时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "物业交割时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wyjgDate;

    /** 解约类型（1：合同到期）（2：业主提前解约）（3：我方退租解约）（4：其他） */
    @Excel(name = "解约类型", readConverterExp = "1=：合同到期")
    private Integer terminationType;

    /** 解约类型其他： 解约类型为其他的时后保存使用 */
    @Excel(name = "解约类型其他： 解约类型为其他的时后保存使用")
    private Integer terAgrType;

    /** 结算合计,为负数的时候，应退（字段废除） */
    @Excel(name = "结算合计,为负数的时候，应退", readConverterExp = "字=段废除")
    private BigDecimal accountsReceivable;

    /** 结算合计，为正应收， 为负数的时候是应退 */
    @Excel(name = "结算合计，为正应收， 为负数的时候是应退")
    private BigDecimal finalStatement;

    /** 解约日期（协议签订日期，暂时同录入日期一样） */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "解约日期", readConverterExp = "协=议签订日期，暂时同录入日期一样")
    private Date terminationDate;

    /** 合同实际截止日（预留字段，暂时用解约日期） */
    @Excel(name = "合同实际截止日", readConverterExp = "预=留字段，暂时用解约日期")
    private Date realTerminationDate;

    /** 审核日期（目前无审核，暂时用录入日期） */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核日期", readConverterExp = "目=前无审核，暂时用录入日期")
    private Date auditDate;

    /** 录入人ID */
    @Excel(name = "录入人ID")
    private Long inputUserId;

    /** 录入人姓名 */
    @Excel(name = "录入人姓名")
    private String inputUserName;

    /** 录入日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inputDate;

    /** 预留字段1 */
    @Excel(name = "预留字段1")
    private BigDecimal reserve1;

    /** 预留字段2 */
    @Excel(name = "预留字段2")
    private Long reserve2;

    /** 预留字段3 */
    @Excel(name = "操作人别名")
    private String reserve3;

    /** 预留字段4 */
    @Excel(name = "预留字段4")
    private String reserve4;

    /** 预留字段5 */
    @Excel(name = "预留字段5")
    private String reserve5;

    /** 删除标识 0：未删除， 1：删除 */
    @Excel(name = "删除标识 0：未删除， 1：删除")
    private Integer delFlg;

    /** 创建用户id */
    @Excel(name = "创建用户id")
    private Long createUserid;

    /** 更新用户id */
    @Excel(name = "更新用户id")
    private Long updateUserid;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBusinessId(Long businessId)
    {
        this.businessId = businessId;
    }

    public Long getBusinessId()
    {
        return businessId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setDeptNo(String deptNo)
    {
        this.deptNo = deptNo;
    }

    public String getDeptNo()
    {
        return deptNo;
    }
    public void setSfTerminationNo(String sfTerminationNo)
    {
        this.sfTerminationNo = sfTerminationNo;
    }

    public String getSfTerminationNo()
    {
        return sfTerminationNo;
    }
    public void setOutTerminationNo(String outTerminationNo)
    {
        this.outTerminationNo = outTerminationNo;
    }

    public String getOutTerminationNo()
    {
        return outTerminationNo;
    }
    public void setSfContractId(Long sfContractId)
    {
        this.sfContractId = sfContractId;
    }

    public Long getSfContractId()
    {
        return sfContractId;
    }
    public void setSfContractNo(String sfContractNo)
    {
        this.sfContractNo = sfContractNo;
    }

    public String getSfContractNo()
    {
        return sfContractNo;
    }
    public void setPremiseId(Long premiseId)
    {
        this.premiseId = premiseId;
    }

    public Long getPremiseId()
    {
        return premiseId;
    }
    public void setPremiseName(String premiseName)
    {
        this.premiseName = premiseName;
    }

    public String getPremiseName()
    {
        return premiseName;
    }
    public void setHouseId(String houseId)
    {
        this.houseId = houseId;
    }

    public String getHouseId()
    {
        return houseId;
    }
    public void setHouseName(String houseName)
    {
        this.houseName = houseName;
    }

    public String getHouseName()
    {
        return houseName;
    }
    public void setCqAddress(String cqAddress)
    {
        this.cqAddress = cqAddress;
    }

    public String getCqAddress()
    {
        return cqAddress;
    }
    public void setHouseZsNo(String houseZsNo)
    {
        this.houseZsNo = houseZsNo;
    }

    public String getHouseZsNo()
    {
        return houseZsNo;
    }
    public void setOwnerName(String ownerName)
    {
        this.ownerName = ownerName;
    }

    public String getOwnerName()
    {
        return ownerName;
    }
    public void setOwnerMobile(String ownerMobile)
    {
        this.ownerMobile = ownerMobile;
    }

    public String getOwnerMobile()
    {
        return ownerMobile;
    }
    public void setSignUserName(String signUserName)
    {
        this.signUserName = signUserName;
    }

    public String getSignUserName()
    {
        return signUserName;
    }
    public void setSignUserMobile(String signUserMobile)
    {
        this.signUserMobile = signUserMobile;
    }

    public String getSignUserMobile()
    {
        return signUserMobile;
    }
    public void setWyjgDate(Date wyjgDate)
    {
        this.wyjgDate = wyjgDate;
    }

    public Date getWyjgDate()
    {
        return wyjgDate;
    }
    public void setTerminationType(Integer terminationType)
    {
        this.terminationType = terminationType;
    }

    public Integer getTerminationType()
    {
        return terminationType;
    }
    public void setTerAgrType(Integer terAgrType)
    {
        this.terAgrType = terAgrType;
    }

    public Integer getTerAgrType()
    {
        return terAgrType;
    }
    public void setAccountsReceivable(BigDecimal accountsReceivable)
    {
        this.accountsReceivable = accountsReceivable;
    }

    public BigDecimal getAccountsReceivable()
    {
        return accountsReceivable;
    }
    public void setFinalStatement(BigDecimal finalStatement)
    {
        this.finalStatement = finalStatement;
    }

    public BigDecimal getFinalStatement()
    {
        return finalStatement;
    }
    public void setTerminationDate(Date terminationDate)
    {
        this.terminationDate = terminationDate;
    }

    public Date getTerminationDate()
    {
        return terminationDate;
    }
    public void setRealTerminationDate(Date realTerminationDate)
    {
        this.realTerminationDate = realTerminationDate;
    }

    public Date getRealTerminationDate()
    {
        return realTerminationDate;
    }
    public void setAuditDate(Date auditDate)
    {
        this.auditDate = auditDate;
    }

    public Date getAuditDate()
    {
        return auditDate;
    }
    public void setInputUserId(Long inputUserId)
    {
        this.inputUserId = inputUserId;
    }

    public Long getInputUserId()
    {
        return inputUserId;
    }
    public void setInputUserName(String inputUserName)
    {
        this.inputUserName = inputUserName;
    }

    public String getInputUserName()
    {
        return inputUserName;
    }
    public void setInputDate(Date inputDate)
    {
        this.inputDate = inputDate;
    }

    public Date getInputDate()
    {
        return inputDate;
    }
    public void setReserve1(BigDecimal reserve1)
    {
        this.reserve1 = reserve1;
    }

    public BigDecimal getReserve1()
    {
        return reserve1;
    }
    public void setReserve2(Long reserve2)
    {
        this.reserve2 = reserve2;
    }

    public Long getReserve2()
    {
        return reserve2;
    }
    public void setReserve3(String reserve3)
    {
        this.reserve3 = reserve3;
    }

    public String getReserve3()
    {
        return reserve3;
    }
    public void setReserve4(String reserve4)
    {
        this.reserve4 = reserve4;
    }

    public String getReserve4()
    {
        return reserve4;
    }
    public void setReserve5(String reserve5)
    {
        this.reserve5 = reserve5;
    }

    public String getReserve5()
    {
        return reserve5;
    }
    public void setDelFlg(Integer delFlg)
    {
        this.delFlg = delFlg;
    }

    public Integer getDelFlg()
    {
        return delFlg;
    }
    public void setCreateUserid(Long createUserid)
    {
        this.createUserid = createUserid;
    }

    public Long getCreateUserid()
    {
        return createUserid;
    }
    public void setUpdateUserid(Long updateUserid)
    {
        this.updateUserid = updateUserid;
    }

    public Long getUpdateUserid()
    {
        return updateUserid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("businessId", getBusinessId())
                .append("deptId", getDeptId())
                .append("deptNo", getDeptNo())
                .append("sfTerminationNo", getSfTerminationNo())
                .append("outTerminationNo", getOutTerminationNo())
                .append("sfContractId", getSfContractId())
                .append("sfContractNo", getSfContractNo())
                .append("premiseId", getPremiseId())
                .append("premiseName", getPremiseName())
                .append("houseId", getHouseId())
                .append("houseName", getHouseName())
                .append("cqAddress", getCqAddress())
                .append("houseZsNo", getHouseZsNo())
                .append("ownerName", getOwnerName())
                .append("ownerMobile", getOwnerMobile())
                .append("signUserName", getSignUserName())
                .append("signUserMobile", getSignUserMobile())
                .append("wyjgDate", getWyjgDate())
                .append("terminationType", getTerminationType())
                .append("terAgrType", getTerAgrType())
                .append("accountsReceivable", getAccountsReceivable())
                .append("finalStatement", getFinalStatement())
                .append("terminationDate", getTerminationDate())
                .append("realTerminationDate", getRealTerminationDate())
                .append("auditDate", getAuditDate())
                .append("inputUserId", getInputUserId())
                .append("inputUserName", getInputUserName())
                .append("inputDate", getInputDate())
                .append("remark", getRemark())
                .append("reserve1", getReserve1())
                .append("reserve2", getReserve2())
                .append("reserve3", getReserve3())
                .append("reserve4", getReserve4())
                .append("reserve5", getReserve5())
                .append("delFlg", getDelFlg())
                .append("createUserid", getCreateUserid())
                .append("createTime", getCreateTime())
                .append("updateUserid", getUpdateUserid())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
